
package com.hlkj.pay.vo.merchant.req.payment;

import java.math.BigDecimal;

import javax.validation.constraints.NotEmpty;

import com.hlkj.pay.vo.BaseResp;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 商户代付详情
 * 
 * @TableName t_merchant_payment_detail
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class MerchantPaymentDetailUpdateReq extends BaseResp {

    /**
     * 代付详情id
     */
    @Schema(description = "代付详情id")
    @NotEmpty(message = "代付详情id 不能为空")
    private String detailPaymentId;

    /**
     * 代付金额
     */
    @Schema(description = "代付金额")
    @NotEmpty(message = "代付金额 不能为空")
    private BigDecimal payAmount;

    /**
     * 账号名称
     */
    @Schema(description = "账号名称")
    @NotEmpty(message = "账号名称 不能为空")
    private String name;

    /**
     * 账号code
     */
    @Schema(description = "卡号")
    @NotEmpty(message = "卡号 不能为空")
    private String cardNo;

    /**
     * 银行编码
     */
    @Schema(description = "银行编码")
    private String bankCode;

    /**
     * 银行名称
     */
    @Schema(description = "银行名称")
    @NotEmpty(message = "银行名称 不能为空")
    private String bankName;

    /**
     * 联行号
     */
    @Schema(description = "联行号")
    private String branchCode;

    /**
     * 银行卡绑定手机号
     */
    @Schema(description = "银行卡绑定手机号")
    @NotEmpty(message = "银行卡绑定手机号 不能为空")
    private String cardPhone;

    /**
     * 省份名称
     */
    @Schema(description = "省份名称")
    private String provinceName;

    /**
     * 城市名称
     */
    @Schema(description = "城市名称")
    private String cityName;

    /**
     * 0:收款方付款;1:付款方付费
     */
    @Schema(description = "付款方 0:收款方付款;1:付款方付费")
    @NotEmpty(message = "付款方 不能为空")
    private Integer feePayer;

}
